Subjective eval of job creation policy: handling it badly
tab q66c
gen polperc=q66c
tab polper
recode polper (1 2=1) (3 4 =0) (9=.)

 Unemppoyed: 
 tab q95
 gen unemploy01=q95
 tab unemploy01
 recode unemploy01 (-1 9 =.)
  tab unemploy01
  
  Direction of the economy: worseening conpared to a year ago
  tab q6a
  gen worseecon = q6a
  recode worseecon (1 2=1) (4 5=0) (3 9 =.)
  tab worseecon
  
Protested at least once in the previous year
tab q11c
gen protest=q11c
tab protest
recode protest (0 1=0) (2 3 4=1) (9=.)
tab protest

Edulevel (Q97 Question: What is your highest level of education? Variable Label: Q97. Education of respondent 
Value Labels: 0=No formal schooling, 1=Informal schooling only (including Koranic schooling), 2=Some primary schooling, 3=Primary school completed, 4=Intermediate school or some secondary school/high school, 5=Secondary school/high school completed, 6=Post-secondary qualifications, other than university, 7=Some university, 8=University completed, 9=Post-graduate, 98=Refused, 99=Don�t know, -1=Missing)
tab q97 
gen edulevel = q97
tab edulevel
recode edulevel (0 =0) (1 2 3 4 5 6 7 8 9=1) (99 = .)
tab edulevel

Female (Q101: Respondent�s gender)
Value Labels: 1=Male, 2=Female
tab q101
gen female= q101
tab female
recode female (2 =1) (1=0)
tab female

Residence (Urban)
tab urbrur
gen urban = urbrur
recode urban (1=1)(2=0)
tab urban

Politically engaged
tab q14
gen polengaged =q14
recode polengaged (-1 9=.) (1 2=1)
tab polengaged
 
hardship (fuel 2020 survey)

tab q7d2020
gen fuel=q7d2020
recode fuel (9=.) (1 2 3 4=1)

logit protest ib0.unemploy01 i.worseecon i.polper i.fuel i.polengaged female urban edulevel c.age c.age#c.age
logit protest ib0.unemploy01 i.worseecon i.polper i.fuel i.polengaged female urban edulevel c.age c.age#c.age i.polperc#i.unemploy01
logit protest ib0.unemploy01 i.worseecon i.polper i.fuel i.polengaged female urban edulevel c.age c.age#c.age i.polengaged#i.unemploy01
logit protest ib0.unemploy01 i.worseecon i.polper i.fuel i.polengaged female urban edulevel c.age c.age#c.age i.fuel#i.unemploy01
logit protest ib0.unemploy01 i.worseecon i.polper i.fuel i.polengaged female urban edulevel c.age c.age#c.age i.worseecon#i.unemploy01

